<template>
  <el-table-column label="统一价格" align="center" key="flatPrice">
    <template v-if="priceType>1">
      <el-table-column label="日租金" align="center" min-width="140" key="flatPriceWeekdayPrice">
        <template v-slot="{row}">
          <el-input v-model="row.flatPriceWeekdayPrice" onkeyup="value=value.replace(/[^0-9.]/g,'')"></el-input>
        </template>
      </el-table-column>
    </template>
    <template v-else>
      <el-table-column label="周内日租金" align="center" min-width="140" key="flatPriceWeekdayPrice">
        <template v-slot="{row}">
          <el-input v-model="row.flatPriceWeekdayPrice" onkeyup="value=value.replace(/[^0-9.]/g,'')"></el-input>
        </template>
      </el-table-column>
      <el-table-column label="周末日租金" align="center" min-width="140" key="flatPriceWeekendPrice">
        <template v-slot="{row}">
          <el-input v-model="row.flatPriceWeekendPrice" onkeyup="value=value.replace(/[^0-9.]/g,'')"></el-input>
        </template>
      </el-table-column>
    </template>
    <!--    <template>
          <el-table-column label="车辆押金" align="center" min-width="140" key="flatPriceCarDeposit">
            <template v-slot="{row}">
              <el-input v-model="row.flatPriceCarDeposit" onkeyup="value=value.replace(/[^0-9.]/g,'')"></el-input>
            </template>
          </el-table-column>
          <el-table-column label="违章押金" align="center" min-width="140" key="flatPriceViolationDeposit">
            <template v-slot="{row}">
              <el-input v-model="row.flatPriceViolationDeposit" onkeyup="value=value.replace(/[^0-9.]/g,'')"></el-input>
            </template>
          </el-table-column>
        </template>-->
  </el-table-column>
</template>

<script>
export default {
  components: {},
  props: {
    priceType:{
      type:Number,
      default:1
    }
  },
  data() {
    return {}
  },
  computed: {},
  methods: {},
  mounted() {
  },

}
</script>

<style lang="scss" scoped>
</style>
